<?php
$this->breadcrumbs=array(
	'Lớp',
);

$this->menu=array(
	array('label'=>'Tạo lớp', 'url'=>array('create')),
	array('label'=>'Quản lý lớp', 'url'=>array('admin')),
);
?>
<?php
  $baseUrl = Yii::app()->baseUrl;
  $cs = Yii::app()->getClientScript();
  $cs->registerScriptFile($baseUrl.'/js/printer_tool.js');
?>
<a href="javascript:PrinterTool.print('print_area')">In lớp</a><br><br>

<div id="print_area">
<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view_print',
)); ?>
</div>